package com.patterns.decorator.schoolReport;

/**
 * Created by Xiao Yiyun on 2017/5/19.
 * 爸爸查看成绩单
 */
public class Father {
    public static void main(String[] args) {

        SchoolReport schoolReport = new FouthReport();
        schoolReport = new HighScoreDecorator(schoolReport);
        schoolReport = new SortDecorator(schoolReport);

        schoolReport.report();
        schoolReport.sign("laosan");

    }
}
